package cn.wolfcode.range;

import lombok.Getter;

import java.util.HashMap;
import java.util.Map;

@Getter
public class FindRange {
    public static final Map<Integer,FindRange> DAY_MAP = new HashMap<>();
    public static final Map<Integer,FindRange> EXPEND_MAP = new HashMap<>();
    private int min;
    private int max;
    static {
        DAY_MAP.put(1,new FindRange(0,3));
        DAY_MAP.put(2,new FindRange(4,7));
        DAY_MAP.put(3,new FindRange(8,14));
        DAY_MAP.put(4,new FindRange(15,Integer.MAX_VALUE));


        EXPEND_MAP.put(1,new FindRange(0,999));
        EXPEND_MAP.put(2,new FindRange(1000,6000));
        EXPEND_MAP.put(3,new FindRange(6001,20000));
        EXPEND_MAP.put(4,new FindRange(20001,Integer.MAX_VALUE));
    }
    public FindRange(){};
    public FindRange(int min, int max){
        this.max = max;
        this.min = min;
    }
}
